"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.ViewAdapter = void 0;

var _baseLayout = require("../../../extends/baseLayout");

var ViewAdapter = (0, _baseLayout.baseLayoutFactory)({
  layoutImplement: function layoutImplement() {
    if (process.env.DISCUZ_ENV === 'web') {
      return require("./web").CardWebLayout;
    }

    if (process.env.DISCUZ_ENV === 'mini') {
      return require("./mini").CardMiniLayout;
    }
  }
});
exports.ViewAdapter = ViewAdapter;